﻿
@{
    Layout = null;
}

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Rating.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>rating Control Demo</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="sm" runat="server" />

        <cc1:Rating ID="LikeRating" runat="server"
                    CurrentRating="3"
                    MaxRating="15"
                    StarCssClass="ratingStar"
                    WaitingStarCssClass="savedRatingStar"
                    FilledStarCssClass="filledRatingStar"
                    EmptyStarCssClass="emptyRatingStar"
                    OnChanged="LikeRating_Changed"
                    style="float: left;">
        </cc1:Rating>
        <br />
        <div style="clear:left;">
            <br />
            <asp:Button ID="ButtonSubmit" runat="server" Text="Submit"
                        onclick="ButtonSubmit_Click" /><br /><br />
            <asp:Label ID="LabelResponse" runat="server" Text="[ No response provioded yet.]"></asp:Label>
        </div>
    </form>
</body>
</html>
